<?php

namespace V1\Model;

/**
 * 
 *
 * @property   $name Description
 * 
 * @author wangzhenxian
 * @package application.components 
 */
use Think\Model\ViewModel;
class TopicViewModel extends ViewModel {
     public $viewFields = array(
         'Topic' => array('id,Topic.title,description,cover_img,bookmark'),
         'UserTopic'=>array('topic_id','user_id','status','update_time','_on'=>'UserTopic.topic_id=Topic.id','_type'=>'RIGHT'),
     );
}
